Understanding TGV Definition for Effectivity Resolution
This section provides an overview of how Tree Grid View (TGV) is configured to work with a corresponding Query Definition (QD) to display the resolved structure for user-provided Effectivity Criteria.
In the Product Engineering (PE) application, the Part BOM Relationships are resolved against Effectivity Criteria on the BOM Structure tab of a Part Item. This tab uses a TGV to display data retrieved from a QD as a tree grid.
You can configure the PE_BomStructure TGV to add, remove, or reorder columns to display Part and Part BOM properties. Adding or removing columns requires changing the QD configuration to return the given properties. You can use the standard TGV and QD procedures for this configuration.
The PE_BomStructure TGV configuration has the following UI elements: the Set Effectivity Criteria button, the View Effectivity context menu item, and the Manage Effectivity Expressions split pane.
Figure 38.
You can configure the PE_BomStructure TGV to add, remove, or reorder columns to display Part and Part BOM properties. Adding or removing columns requires changing the QD configuration to return the given properties. Use the standard TGV and QD configuration procedures.
Figure 39.
The TGV configuration uses the PE_BomStructure Presentation Configuration, which adjusts the toolbar and context menu with two new command bar sections: effs_tgvToolbarCustomization and effs_tgvContextMenuCustomization.
Figure 40.
The effs_tgvToolbarCustomization command bar section adds the new button to the default TGV toolbar. This button is effs_tgvToolbarSetEffectivityCriteriaButton labeled as Set Effectivity Criteria.
Figure 41.
Set Effectivity Criteria triggers the effs_setEffectivityCriteriaHandl Method to show the Effectivity Criteria Filter dialog for setting the Effectivity Criteria, for which a BOM structure will be resolved.
Figure 42.
The effs_tgvContextMenuCustomization command bar section adds a new menu item to the default TGV context menu. This menu item is effs_tgvContextMenuViewEffectivityItem labeled as View Effectivity.
Figure 43.
View Effectivity triggers the effs_bomStructureViewEffCtxHandl Method to display the Manage Effectivity Expressions split pane with Effectivity Expressions set for the given Part BOM.
Figure 44.